home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / 2DScript / INFOBAR.UI < prev    next >
Text File  |  1999-06-16  |  4KB  |  191 lines

  1. "2D\Overlays\Info\InfoBar"
  2.  
  3. //********************************
  4. //  Data Container
  5. //********************************
  6. DataContainer {
  7.     Int "InformationBarCurrentScreen" {
  8.         RadioGroup "InformationBar";
  9.     };
  10.     Int "PauseQuit" {InitialValue 0;};
  11. };
  12.  
  13. //********************************
  14. //  Fonts
  15. //********************************
  16. Font "InfoBarDisabledFont" {
  17.     Filename "fontdis";
  18.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  19.     Kerning 1;
  20.     VerticalKerning 12;
  21. };
  22.  
  23. Font "InfoBarEnabledFont" {
  24.     Filename "fontnorm";
  25.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  26.     Kerning 1;
  27.     VerticalKerning 12;
  28. };
  29.  
  30. Font "InfoBarFocusedFont" {
  31.     Filename "fontend";
  32.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  33.     Kerning 1;
  34.     VerticalKerning 12;
  35. };
  36.  
  37. Font "InfoBarArmedFont" {
  38.     Filename "fontend";
  39.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  40.     Kerning 1;
  41.     VerticalKerning 12;
  42. };
  43.  
  44. //********************************
  45. //  Images
  46. //********************************
  47. Image "InfoBar" {
  48.     Filename "Infobar";
  49.     position [-30,0];
  50. };
  51. Image "EnabledBoxScore" {
  52.     Filename "firbute";
  53. };
  54.  
  55. Image "ArmedBoxScore" {
  56.     Filename "firbutp";
  57. };
  58. Image "FocusedBoxScore" {
  59.     Filename "firbutf";
  60. };
  61. Image "EnabledShotChart" {
  62.     Filename "midbute";
  63. };
  64.  
  65. Image "ArmedShotChart" {
  66.     Filename "midbutp";
  67. };
  68. Image "FocusedShotChart" {
  69.     Filename "midbutf";
  70. };
  71.  
  72. Image "EnabledGameDetails" {
  73.     Filename "endbute";
  74. };
  75.  
  76. Image "ArmedGameDetails" {
  77.     Filename "endbutp";
  78. };
  79. Image "FocusedGameDetails" {
  80.     Filename "endbutf";
  81. };
  82.  
  83. //********************************
  84. //  Styles
  85. //********************************
  86. Style "InfoBar" {
  87.     Image "InfoBar";
  88. };
  89.  
  90. ButtonStyle "InformationBarBoxScoreButtonStyle" {
  91.     Enabled Image "EnabledBoxScore";
  92.     Armed Image "ArmedBoxScore";
  93.     Focused Image "FocusedBoxScore";
  94.     Enabled Font "InfoBarEnabledFont";
  95.     Armed Font "InfoBarArmedFont";
  96. //    Focused Font "InfoBarArmedFont";
  97.     Disabled Font "InfoBarDisabledFont";
  98. };
  99.  
  100. ButtonStyle "InformationBarShotChartButtonStyle" {
  101.     Enabled Image "EnabledShotChart";
  102.     Armed Image "ArmedShotChart";
  103.     Focused Image "FocusedShotChart";
  104.     Disabled Font "InfoBarDisabledFont";
  105.     Enabled Font "InfoBarEnabledFont";
  106.     Armed Font "InfoBarArmedFont";
  107. //    Focused Font "InfoBarEnabledFont";
  108. };
  109.  
  110. ButtonStyle "InformationBarGameDetailsButtonStyle" {
  111.     Enabled Image "EnabledGameDetails";
  112.     Armed Image "ArmedGameDetails";
  113.     Focused Image "FocusedGameDetails";
  114.     Enabled Font "InfoBarEnabledFont";
  115.     Armed Font "InfoBarArmedFont";
  116. //    Focused Font "InfoBarEnabledFont";
  117. };
  118.  
  119. //********************************
  120. //  Buttons
  121. //********************************
  122. CheckButton "InformationBarBoxScore" {
  123.     ButtonStyle "InformationBarBoxScoreButtonStyle";
  124.  
  125.     Disabled;
  126.  
  127.     String "BOX SCORE" {
  128.         Position [60,10];
  129.         Justify CenterCenter;
  130.     };
  131.     Position [0, 0];
  132. };
  133.  
  134. CheckButton "InformationBarShotChart" {
  135.     ButtonStyle "InformationBarShotChartButtonStyle";
  136.  
  137.     Disabled;
  138.  
  139.     String "SHOT CHART" {
  140.         Position [65,10];
  141.         Justify CenterCenter;
  142.     };
  143.     Position [117, 0];
  144. };
  145.  
  146. CheckButton "InformationBarGameDetails" {
  147.     ButtonStyle "InformationBarGameDetailsButtonStyle";
  148.     String "GAME DETAILS" {
  149.         Position [68,10];
  150.         Justify CenterCenter;
  151.     };
  152.     Position [246, 0];
  153. };
  154.  
  155. //********************************
  156. //  Groups
  157. //********************************
  158. Group "InformationStartingPoint" {
  159.     Style "InfoBar";
  160.     Root;
  161.  
  162. //    Position [30, 0];
  163.     CenterCenter Position [-290, -240];
  164.  
  165.     Children {
  166.         MenuGroup "InformationNavBar";
  167.     };
  168.  
  169.     Activate Action {SetCurrOverviewHelp "PausedGame_Overview";};
  170.  
  171.     Activate Action {SetData "InformationBarCurrentScreen" 2;};
  172. };
  173.  
  174. MenuGroup "InformationNavBar" {
  175.     Children {
  176.         Group "InformationDummyGroup1";
  177.         Group "InformationDummyGroup2";
  178.         Include "2DScript\Info\GameDet";
  179.         RadioGroup "InformationBar";
  180.     };
  181. };
  182.  
  183. RadioGroup "InformationBar" {
  184.     Position [169, 50];
  185.     Children {
  186.         CheckButton "InformationBarBoxScore";
  187.         CheckButton "InformationBarShotChart";
  188.         CheckButton "InformationBarGameDetails";
  189.     };
  190. };
  191.